PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Tunnel Spheres / mine idiosphuhrer (throw it all away) satan m anticipating my arrival in hell nz+.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=3 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.478 |
| 26 | fWaveScale=0.060 |
| 27 | fWaveSmoothing=0.900 |
| 28 | fWaveParam=-0.200 |
| 29 | fModWaveAlphaStart=0.390 |
| 30 | fModWaveAlphaEnd=1.180 |
| 31 | fWarpAnimSpeed=100.000 |
| 32 | fWarpScale=100.000 |
| 33 | fZoomExponent=100.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.11363 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=-1.00000 |
| 40 | dy=1.00000 |
| 41 | warp=100.00000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.650 |
| 45 | wave_g=0.650 |
| 46 | wave_b=0.650 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.000 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0.000 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=4.480 |
| 60 | nMotionVectorsY=4.320 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.050 |
| 64 | mv_r=1.000 |
| 65 | mv_g=0.200 |
| 66 | mv_b=0.200 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.74192 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.020 |
| 88 | wave_0_per_point1=q3=bnot(q3); |
| 89 | wave_0_per_point2= |
| 90 | wave_0_per_point3=x=.5+(equal(q3,0)*(int(rand(50))-25)*.02); |
| 91 | wave_0_per_point4=y=.5+(equal(q3,0)*(int(rand(50))-25)*.02); |
| 92 | wavecode_1_enabled=1 |
| 93 | wavecode_1_samples=62 |
| 94 | wavecode_1_sep=0 |
| 95 | wavecode_1_bSpectrum=0 |
| 96 | wavecode_1_bUseDots=0 |
| 97 | wavecode_1_bDrawThick=0 |
| 98 | wavecode_1_bAdditive=1 |
| 99 | wavecode_1_scaling=1.00000 |
| 100 | wavecode_1_smoothing=0.50000 |
| 101 | wavecode_1_r=1.000 |
| 102 | wavecode_1_g=1.000 |
| 103 | wavecode_1_b=1.000 |
| 104 | wavecode_1_a=0.200 |
| 105 | wave_1_per_point1=r=bass*.05; |
| 106 | wave_1_per_point2=cd=cd+.001; |
| 107 | wave_1_per_point3= |
| 108 | wave_1_per_point4=c=int(rand(10))*3.1415927*.2; |
| 109 | wave_1_per_point5=c=c+cd; |
| 110 | wave_1_per_point6= |
| 111 | wave_1_per_point7=x=.5+(cos(c)*r); |
| 112 | wave_1_per_point8=y=.5+(sin(c)*r); |
| 113 | wave_1_per_point9= |
| 114 | wave_1_per_point10=r=abs(sin(time*.77)); |
| 115 | wave_1_per_point11=g=treb*.5 |
| 116 | wavecode_2_enabled=0 |
| 117 | wavecode_2_samples=512 |
| 118 | wavecode_2_sep=0 |
| 119 | wavecode_2_bSpectrum=0 |
| 120 | wavecode_2_bUseDots=0 |
| 121 | wavecode_2_bDrawThick=0 |
| 122 | wavecode_2_bAdditive=0 |
| 123 | wavecode_2_scaling=1.00000 |
| 124 | wavecode_2_smoothing=0.50000 |
| 125 | wavecode_2_r=1.000 |
| 126 | wavecode_2_g=1.000 |
| 127 | wavecode_2_b=1.000 |
| 128 | wavecode_2_a=1.000 |
| 129 | wavecode_3_enabled=0 |
| 130 | wavecode_3_samples=512 |
| 131 | wavecode_3_sep=0 |
| 132 | wavecode_3_bSpectrum=0 |
| 133 | wavecode_3_bUseDots=0 |
| 134 | wavecode_3_bDrawThick=0 |
| 135 | wavecode_3_bAdditive=0 |
| 136 | wavecode_3_scaling=1.00000 |
| 137 | wavecode_3_smoothing=0.50000 |
| 138 | wavecode_3_r=1.000 |
| 139 | wavecode_3_g=1.000 |
| 140 | wavecode_3_b=1.000 |
| 141 | wavecode_3_a=1.000 |
| 142 | shapecode_0_enabled=1 |
| 143 | shapecode_0_sides=100 |
| 144 | shapecode_0_additive=0 |
| 145 | shapecode_0_thickOutline=0 |
| 146 | shapecode_0_textured=1 |
| 147 | shapecode_0_num_inst=1 |
| 148 | shapecode_0_x=0.150 |
| 149 | shapecode_0_y=0.820 |
| 150 | shapecode_0_rad=1.49765 |
| 151 | shapecode_0_ang=0.00000 |
| 152 | shapecode_0_tex_ang=0.00000 |
| 153 | shapecode_0_tex_zoom=0.36971 |
| 154 | shapecode_0_r=1.000 |
| 155 | shapecode_0_g=0.400 |
| 156 | shapecode_0_b=0.000 |
| 157 | shapecode_0_a=1.000 |
| 158 | shapecode_0_r2=1.000 |
| 159 | shapecode_0_g2=1.000 |
| 160 | shapecode_0_b2=0.000 |
| 161 | shapecode_0_a2=0.000 |
| 162 | shapecode_0_border_r=1.000 |
| 163 | shapecode_0_border_g=1.000 |
| 164 | shapecode_0_border_b=1.000 |
| 165 | shapecode_0_border_a=0.000 |
| 166 | shape_0_per_frame1=ra=ra-(bass_att*.01); |
| 167 | shape_0_per_frame2= |
| 168 | shape_0_per_frame3=ang=ra; |
| 169 | shape_0_per_frame4= |
| 170 | shape_0_per_frame5=x=abs(sin(time*.1)); |
| 171 | shape_0_per_frame6=y=abs(cos((time+.2)*.3)); |
| 172 | shapecode_1_enabled=1 |
| 173 | shapecode_1_sides=100 |
| 174 | shapecode_1_additive=0 |
| 175 | shapecode_1_thickOutline=0 |
| 176 | shapecode_1_textured=1 |
| 177 | shapecode_1_num_inst=1 |
| 178 | shapecode_1_x=0.830 |
| 179 | shapecode_1_y=0.820 |
| 180 | shapecode_1_rad=1.49766 |
| 181 | shapecode_1_ang=0.00000 |
| 182 | shapecode_1_tex_ang=0.00000 |
| 183 | shapecode_1_tex_zoom=0.36971 |
| 184 | shapecode_1_r=1.000 |
| 185 | shapecode_1_g=0.000 |
| 186 | shapecode_1_b=0.500 |
| 187 | shapecode_1_a=1.000 |
| 188 | shapecode_1_r2=0.000 |
| 189 | shapecode_1_g2=0.600 |
| 190 | shapecode_1_b2=0.700 |
| 191 | shapecode_1_a2=0.000 |
| 192 | shapecode_1_border_r=1.000 |
| 193 | shapecode_1_border_g=1.000 |
| 194 | shapecode_1_border_b=1.000 |
| 195 | shapecode_1_border_a=0.000 |
| 196 | shape_1_per_frame1=ra=ra+(treb_att*.025); |
| 197 | shape_1_per_frame2= |
| 198 | shape_1_per_frame3=ang=ra; |
| 199 | shape_1_per_frame4= |
| 200 | shape_1_per_frame5=x=abs(sin(time*.2)); |
| 201 | shape_1_per_frame6=y=abs(cos(time*.7)); |
| 202 | shapecode_2_enabled=1 |
| 203 | shapecode_2_sides=100 |
| 204 | shapecode_2_additive=0 |
| 205 | shapecode_2_thickOutline=0 |
| 206 | shapecode_2_textured=1 |
| 207 | shapecode_2_num_inst=1 |
| 208 | shapecode_2_x=0.270 |
| 209 | shapecode_2_y=0.200 |
| 210 | shapecode_2_rad=1.32910 |
| 211 | shapecode_2_ang=0.00000 |
| 212 | shapecode_2_tex_ang=0.00000 |
| 213 | shapecode_2_tex_zoom=0.40839 |
| 214 | shapecode_2_r=0.400 |
| 215 | shapecode_2_g=0.800 |
| 216 | shapecode_2_b=0.000 |
| 217 | shapecode_2_a=1.000 |
| 218 | shapecode_2_r2=1.000 |
| 219 | shapecode_2_g2=0.200 |
| 220 | shapecode_2_b2=0.000 |
| 221 | shapecode_2_a2=0.000 |
| 222 | shapecode_2_border_r=1.000 |
| 223 | shapecode_2_border_g=1.000 |
| 224 | shapecode_2_border_b=1.000 |
| 225 | shapecode_2_border_a=0.000 |
| 226 | shape_2_per_frame1=ra=ra+if(above(treb,.5),treb*.03,.01); |
| 227 | shape_2_per_frame2= |
| 228 | shape_2_per_frame3=ang=ra; |
| 229 | shape_2_per_frame4=rad=rad+(treb_att*.1); |
| 230 | shape_2_per_frame5= |
| 231 | shape_2_per_frame6=y=abs(sin(time*.23)); |
| 232 | shape_2_per_frame7=x=abs(cos(time*.7)); |
| 233 | shapecode_3_enabled=1 |
| 234 | shapecode_3_sides=100 |
| 235 | shapecode_3_additive=0 |
| 236 | shapecode_3_thickOutline=0 |
| 237 | shapecode_3_textured=1 |
| 238 | shapecode_3_num_inst=1 |
| 239 | shapecode_3_x=0.750 |
| 240 | shapecode_3_y=0.250 |
| 241 | shapecode_3_rad=1.46815 |
| 242 | shapecode_3_ang=0.00000 |
| 243 | shapecode_3_tex_ang=0.00000 |
| 244 | shapecode_3_tex_zoom=0.40839 |
| 245 | shapecode_3_r=1.000 |
| 246 | shapecode_3_g=0.900 |
| 247 | shapecode_3_b=0.000 |
| 248 | shapecode_3_a=1.000 |
| 249 | shapecode_3_r2=0.000 |
| 250 | shapecode_3_g2=1.000 |
| 251 | shapecode_3_b2=1.000 |
| 252 | shapecode_3_a2=0.000 |
| 253 | shapecode_3_border_r=1.000 |
| 254 | shapecode_3_border_g=1.000 |
| 255 | shapecode_3_border_b=1.000 |
| 256 | shapecode_3_border_a=0.000 |
| 257 | shape_3_per_frame1=ra=ra-if(above(bass,1.3),bass*.02,.01); |
| 258 | shape_3_per_frame2= |
| 259 | shape_3_per_frame3=ang=ra; |
| 260 | shape_3_per_frame4=rad=rad+(bass_att*.1); |
| 261 | shape_3_per_frame5= |
| 262 | shape_3_per_frame6=x=abs(sin(time*.25)); |
| 263 | shape_3_per_frame7= |
| 264 | per_frame_1=chng=sin(time*.5); |
| 265 | per_frame_2=cthr=.9999; |
| 266 | per_frame_3=mq20=if(above(chng,cthr),rand(3),mq20); |
| 267 | per_frame_4=mq19=if(above(chng,cthr),rand(3),mq19); |
| 268 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 269 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 270 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 271 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 272 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 273 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 274 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 275 | per_frame_12=mq30=if(above(chng,cthr),rand(1)*.3,mq30); |
| 276 | per_frame_13=monitor=chng; |
| 277 | per_frame_14=q20=mq20;q19=mq19;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 278 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q30=mq30; |
| 279 | per_frame_16= |
| 280 | per_frame_17=monitor=mq1; |
| 281 | per_frame_18=vol=bass+treb+mid; |
| 282 | per_frame_19=atime=atime+vol; |
| 283 | per_frame_20=q1=.4+sin(atime*.006 )*.4; |
| 284 | per_frame_21=q2=.4+cos(atime*.00613828348)*.4; |
| 285 | per_frame_22=q3=.4+sin(atime*.00598593455)*.4; |
| 286 | per_frame_23=monitor=q3; |
| 287 | per_frame_24=warp = 0; |
| 288 | per_frame_25= |
| 289 | per_frame_26=tv = tv + 1/fps+above(bass_att*treb_att,4); |
| 290 | per_frame_27=mv_r = sin(tv*2.)/2+.5; |
| 291 | per_frame_28=mv_g= sin(tv*.2312)/2+.5; |
| 292 | per_frame_29=mv_b = sin(tv*.203)/2+.5; |
| 293 | per_frame_30= |
| 294 | per_frame_31=wave_b = if(below(treb, 1.8),1-.025*int(rand(10)),0); |
| 295 | per_frame_32=wave_g = wave_g*sqr(.01*int(rand(100))); |
| 296 | per_frame_33=decay = .9999+.0001+0*if(equal(frame % 10,0),.95,1); |
| 297 | per_frame_34=monitor = wave_g; |
| 298 | per_frame_35=cx=.5+.3*cos(time*.21); |
| 299 | per_frame_36=cy=.5+.3*sin(time*.1); |
| 300 | per_frame_37=//cx=cx+(bass-1.2)*.1; |
| 301 | per_frame_38=//cy=cy+(treb_att-1)*.1; |
| 302 | per_frame_39=mv_a=bass_att*.4; |
| 303 | per_frame_40=//mv_g=mv_r*1; |
| 304 | per_frame_41=wave_x = cx; |
| 305 | per_frame_42=wave_y=1-cy; |
| 306 | per_frame_43=monitor=(3.14159+atan(-.1))/3.14159; |
| 307 | per_frame_44=q1=cx; |
| 308 | per_frame_45=q2=cy; |
| 309 | per_frame_46=q21=sin(time*.7); |
| 310 | per_frame_47=//q22=.01; |
| 311 | per_pixel_1=radc=sqr(q1-x)+sqr(q2-y); |
| 312 | per_pixel_2=near=below(radc,.015); |
| 313 | per_pixel_3=notnear = 1- near; |
| 314 | per_pixel_4=//sy=max(0.3,pow(bass_att,.2))*near + notnear; |
| 315 | per_pixel_5=//sx=1/sy*near + notnear; |
| 316 | per_pixel_6=//rot = .01*sin(x*5+time)*notnear-.015; |
| 317 | per_pixel_7=rot = .015*notnear; |
| 318 | per_pixel_8=//zoom = 1+ notnear*.01*(.5+sin(ang*5+time)); |
| 319 | per_pixel_9=angc=atan((y-cy)/(x-cx))+below(x,cx)*sign(y-cy)*3.14159; |
| 320 | per_pixel_10=//dx=(x-cx)*.03*(cos(angc*3)*3+2);//*notnear; |
| 321 | per_pixel_11=//dy=(y-cy)*.03*(sin(angc*3)*3+2);//*notnear; |
| 322 | per_pixel_12=//zoom=1-angc/3.14159*.07; |
| 323 | per_pixel_13= |
| 324 | per_pixel_14=shift = -.02*(pow(cos(angc*.5-time*1.1-pow(radc,.4)*8),6)-.6)*notnear; |
| 325 | per_pixel_15=dx=cos(angc)*shift; |
| 326 | per_pixel_16=dy=sin(angc)*shift; |
| 327 | warp_1=`float2 complex_mul(float2 factorA, float2 factorB){ |
| 328 | warp_2=` return float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); |
| 329 | warp_3=`} |
| 330 | warp_4=` |
| 331 | warp_5=`float2 complex_pow(float2 base, int exponent){ |
| 332 | warp_6=` float2 exponentiation = float2(1,0); |
| 333 | warp_7=` for(int i = 0; i<exponent; i++){ |
| 334 | warp_8=` exponentiation = complex_mul(base,exponentiation); |
| 335 | warp_9=` } |
| 336 | warp_10=` return exponentiation; |
| 337 | warp_11=`} |
| 338 | warp_12=` |
| 339 | warp_13=`float2 complex_square(float2 domain){ |
| 340 | warp_14=` return complex_mul(domain,domain); |
| 341 | warp_15=`} |
| 342 | warp_16=` |
| 343 | warp_17=`float2 complex_div(float2 numerator, float2 denominator){ |
| 344 | warp_18=` return float2( numerator.x*denominator.x + numerator.y*denominator.y, |
| 345 | warp_19=` numerator.y*denominator.x - numerator.x*denominator.y)/ |
| 346 | warp_20=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 347 | warp_21=`} |
| 348 | warp_22=` |
| 349 | warp_23=`float2 uv_aspect(float2 uvo, float2 uvm, float2 aspectr, float2 motion_scale){ |
| 350 | warp_24=` return 0.5 + (lerp(uvo,uvm,motion_scale)-0.5)*aspectr; |
| 351 | warp_25=`} |
| 352 | warp_26=` |
| 353 | warp_27=`float2 uv_scale(float2 domain, float2 center, float2 scale){ |
| 354 | warp_28=` return center + (domain-center)*scale; |
| 355 | warp_29=`} |
| 356 | warp_30=` |
| 357 | warp_31=`float2 uv_torus_mirror(float2 domain, float cutoff){ |
| 358 | warp_32=` return 0.5 + (1.0 - abs( frac( domain * 0.5 ) * 2 - 1.0 )-0.5)*cutoff; |
| 359 | warp_33=`} |
| 360 | warp_34=` |
| 361 | warp_35=`float2 uv_polar(float2 domain, float2 center){ |
| 362 | warp_36=` float2 c = domain - center; |
| 363 | warp_37=` float rad_hq = length(c); |
| 364 | warp_38=` float ang_hq = atan2(c.x,c.y); |
| 365 | warp_39=` return float2(ang_hq*M_INV_PI_2, rad_hq); |
| 366 | warp_40=`} |
| 367 | warp_41=` |
| 368 | warp_42=`float2 uv_polar_logarithmic(float2 domain, float2 center, int fins, float log_factor, float2 coord){ |
| 369 | warp_43=` float2 polar = uv_polar(domain, center); |
| 370 | warp_44=` return float2(polar.x*fins+coord.x, log_factor*log(1/polar.y) + coord.y); |
| 371 | warp_45=`} |
| 372 | warp_46=` |
| 373 | warp_47=`float2 uv_moebius_transformation(float2 domain, float2 zeroPoint, float2 infinityPoint,float zoom){ |
| 374 | warp_48=` return complex_div((domain - zeroPoint)*zoom, domain - infinityPoint)+0.5; |
| 375 | warp_49=`} |
| 376 | warp_50=` |
| 377 | warp_51=`float2 uv_bipolar_logarithmic(float2 domain, float2 northPole, float2 southPole, int fins, float log_factor, float2 coord){ |
| 378 | warp_52=` float2 help_uv = uv_moebius_transformation(domain, northPole, southPole, 1); |
| 379 | warp_53=` return uv_polar_logarithmic(help_uv,0.5,fins,log_factor,coord); |
| 380 | warp_54=`} |
| 381 | warp_55=` |
| 382 | warp_56=`bool mask_rectangle(float2 domain, float2 position, float2 dimensions){ |
| 383 | warp_57=` return (domain.x>position.x-dimensions.x)*(domain.x<position.x+dimensions.x)* |
| 384 | warp_58=` (domain.y>position.y-dimensions.y)*(domain.y<position.y+dimensions.y); |
| 385 | warp_59=`} |
| 386 | warp_60=` |
| 387 | warp_61=`bool mask_circle(float2 domain, float2 position, float radius){ |
| 388 | warp_62=` return length(domain-position)<radius; |
| 389 | warp_63=`} |
| 390 | warp_64=` |
| 391 | warp_65=`bool mask_spiral_logarithmic(float2 domain, float2 center, int fins, float thickness, float spiral_factor, float zoom){ |
| 392 | warp_66=` float2 c = domain - center; |
| 393 | warp_67=` float rad_hq = length(c); |
| 394 | warp_68=` float ang_hq = atan2(c.x,c.y); |
| 395 | warp_69=` |
| 396 | warp_70=` return frac(fins*ang_hq*M_INV_PI_2 + spiral_factor*log(1/rad_hq)+zoom)<thickness; |
| 397 | warp_71=`} |
| 398 | warp_72=` |
| 399 | warp_73=`float figure_spiral(float2 domain, float2 center, int fins, float thickness, float spiral_factor, float zoom){ |
| 400 | warp_74=` float2 c = domain - center; |
| 401 | warp_75=` float rad_hq = length(c); |
| 402 | warp_76=` float ang_hq = atan2(c.x,c.y); |
| 403 | warp_77=` |
| 404 | warp_78=` return frac(fins*ang_hq*M_INV_PI_2 + spiral_factor*log(1/rad_hq)+zoom)<thickness; |
| 405 | warp_79=`} |
| 406 | warp_80=` |
| 407 | warp_81=`float figure_circle(float2 domain, float2 position, float radius){ |
| 408 | warp_82=` return saturate(1-length(domain-position)/radius); |
| 409 | warp_83=`} |
| 410 | warp_84=` |
| 411 | warp_85=`float figure_border(float2 domain, float thickness){ |
| 412 | warp_86=` float2 help_uv = frac(domain-0.5); |
| 413 | warp_87=` help_uv = min(help_uv,1-help_uv)*2; |
| 414 | warp_88=` return saturate(max(help_uv.x,help_uv.y)-1+thickness)/(thickness); |
| 415 | warp_89=`} |
| 416 | warp_90=` |
| 417 | warp_91=`shader_body |
| 418 | warp_92=`{ |
| 419 | warp_93=`float2 base_uv = uv_aspect(uv_orig, uv, aspect.wz, 0); |
| 420 | warp_94=`float2 northPole = float2(0.25,0.5); |
| 421 | warp_95=`float2 southPole = float2(0.75,0.5); |
| 422 | warp_96=`int fins = 4; |
| 423 | warp_97=`float log_factor = 0.6; |
| 424 | warp_98=`float2 coord = float2(time*0.1,time*0.5); |
| 425 | warp_99=` |
| 426 | warp_100=`float2 bipolar_uv = uv_bipolar_logarithmic(base_uv, northPole, southPole, fins, log_factor, coord ); |
| 427 | warp_101=` |
| 428 | warp_102=`ret = figure_border(bipolar_uv,0.15)*float3(1,0.8,0); |
| 429 | warp_103=`log_factor = 1; |
| 430 | warp_104=`coord = float2(0,time*0.3); |
| 431 | warp_105=`bipolar_uv = uv_torus_mirror(bipolar_uv,1); |
| 432 | warp_106=`float2 polar_uv = uv_polar_logarithmic(bipolar_uv,0.5,fins,log_factor,coord); |
| 433 | warp_107=`ret = lerp(ret,float3(0.5,0,1),figure_border(polar_uv,0.25)); |
| 434 | warp_108=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 435 | warp_109=` ((polar_uv.xyy*q27 |
| 436 | warp_110=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 437 | warp_111=` ).xyz* |
| 438 | warp_112=` float3(1,1,0)*0.05 + |
| 439 | warp_113=` time*float3(0,0,1)*q29 |
| 440 | warp_114=` ); |
| 441 | warp_115=`if(ret.x> q20*q3 && ret.x<= q24*q1 )ret.y -= (noise9).x*.5; |
| 442 | warp_116=`if(ret.y> q19*q1 && ret.y<= q25*q2 )ret.z -= (noise9).y*.5; |
| 443 | warp_117=`if(ret.z> q23*q2 && ret.z<= q26*q3 )ret.x -= (noise9).z*.5; |
| 444 | warp_118=`} |
| 445 | comp_1=`sampler sampler_pw_noise_lq; |
| 446 | comp_2=` |
| 447 | comp_3=`float k1, k2, mask1, mask2, mask3, rad1, rad2, rad3; |
| 448 | comp_4=`float2 rs, rss, rss0, rs0, uv2, uv3,uv4, rsk, uvo; |
| 449 | comp_5=`float2 dz1, dz2, dz3, Kugel1, Kugel2, Kugel3,tmp; |
| 450 | comp_6=`float3 noise, ret1, ret2; |
| 451 | comp_7=` |
| 452 | comp_8=`shader_body { |
| 453 | comp_9=`uvo = uv; |
| 454 | comp_10=`uv = mul(uv*aspect.xy,float2x2(_qa)); |
| 455 | comp_11=` |
| 456 | comp_12=`uv = uv + -.0- .1*float2(q5,q6); |
| 457 | comp_13=`float2 uv1 = (uv-.5 );//*aspect.xy; |
| 458 | comp_14=` |
| 459 | comp_15=`//Kugel1 |
| 460 | comp_16=`rsk = (uv1 + float2 (q9,q10)) ; |
| 461 | comp_17=`dz1 = normalize(rsk); |
| 462 | comp_18=`rad1 = q11*length (rsk) ; |
| 463 | comp_19=`uv4 = tan(rad1)*dz1; |
| 464 | comp_20=`mask1 = saturate(8-8*rad1); |
| 465 | comp_21=`Kugel1 = uv4*mask1; |
| 466 | comp_22=` |
| 467 | comp_23=`//Kugel2 |
| 468 | comp_24=`rsk = (uv1 + float2 (q13,q14)) ; |
| 469 | comp_25=`dz2 = normalize(rsk); |
| 470 | comp_26=`rad2 = q15*length (rsk) ; |
| 471 | comp_27=`uv4 = tan(rad2)*dz2; |
| 472 | comp_28=`mask2 = saturate(8-8*rad2); |
| 473 | comp_29=`Kugel2 = uv4*mask2; |
| 474 | comp_30=` |
| 475 | comp_31=`//Kugel3 |
| 476 | comp_32=`rsk = (uv1 + float2 (q17,q18)) ; |
| 477 | comp_33=`dz3 = normalize(rsk); |
| 478 | comp_34=`rad3 = q19*length (rsk) ; |
| 479 | comp_35=`uv4 = tan(rad3)*dz3; |
| 480 | comp_36=`mask3 = saturate(8-8*rad3); |
| 481 | comp_37=`Kugel3 = uv4*mask3; |
| 482 | comp_38=` |
| 483 | comp_39=`float2 dz = (Kugel2 + Kugel1 + Kugel3)*.2; |
| 484 | comp_40=`//******************** STARS |
| 485 | comp_41=`uv1 += dz; |
| 486 | comp_42=`rss0.x = atan2(uv1.x, uv1.y)/3.1416; |
| 487 | comp_43=`rss0.y = .1*q21/(length (uv1)); |
| 488 | comp_44=` |
| 489 | comp_45=`rss = float2 (rss0.x,rss0.y+time); |
| 490 | comp_46=`rss = mul(rss,float2x2(.7,.7,-.7,.7)); |
| 491 | comp_47=`float noise = (tex2D(sampler_pw_noise_lq,rss/32)-.5 >= 0); |
| 492 | comp_48=`tmp = abs(frac(rss*8)-.5); |
| 493 | comp_49=`float3 dots = saturate(.04/length(tmp)) *noise; |
| 494 | comp_50=` |
| 495 | comp_51=`rss = float2 (rss0.x,rss0.y+time/4); |
| 496 | comp_52=`rss = mul(rss,float2x2(.7,.7,-.7,.7)); |
| 497 | comp_53=`noise = (tex2D(sampler_pw_noise_lq,rss/32)-.5 >= 0); |
| 498 | comp_54=`tmp = abs(frac(rss*8)-.5); |
| 499 | comp_55=`dots += saturate(.02/length(tmp)) * noise; |
| 500 | comp_56=` |
| 501 | comp_57=`dots *= saturate(.2/abs(rss0.y)); |
| 502 | comp_58=`dots *= dots*.6; |
| 503 | comp_59=`//************************* |
| 504 | comp_60=` |
| 505 | comp_61=`float z = q32/(uv1.y-.02);//floor proxy |
| 506 | comp_62=`float mask = saturate(4/z); |
| 507 | comp_63=`rs0.x = (uv1.x)*z; |
| 508 | comp_64=`rs0.y = z/4; |
| 509 | comp_65=`rs.x = rs0.x ; |
| 510 | comp_66=`rs.y = rs0.y + q8*3; |
| 511 | comp_67=`float3 mirror = lum(tex2D(sampler_pw_noise_lq,.02*rs))-.5; |
| 512 | comp_68=`z = .2/(length(uv1)-q21); |
| 513 | comp_69=`uv2.y = z + q8; |
| 514 | comp_70=`uv2.x = rss0.x +q7; |
| 515 | comp_71=`uv3 =frac(uv2 +.0*mask*mirror); |
| 516 | comp_72=`uv3 *=2 ; |
| 517 | comp_73=`float2 m = floor(frac(uv3*0.5)*2); |
| 518 | comp_74=`uv3 = frac(uv3)*(1-m) + (m)*frac(1-uv3); |
| 519 | comp_75=` |
| 520 | comp_76=`ret1 = tex2D (sampler_main,uv3)/z; |
| 521 | comp_77=`ret = max(ret1*(1-0.5*mask),mirror*mask) +dots; |
| 522 | comp_78=` |
| 523 | comp_79=`float mod = q22*2; |
| 524 | comp_80=`float3 blk = abs(rsqrt(rad1)*dz1.x*roam_sin |
| 525 | comp_81=`+rsqrt(rad2)*dz2.y*roam_sin.rbg |
| 526 | comp_82=`+rsqrt(rad3)*dz3.x*roam_sin.bgr)*(.2+mirror*mask)*mod; |
| 527 | comp_83=`ret += blk; |
| 528 | comp_84=` |
| 529 | comp_85=`ret2 = saturate(.02*q22*q21/length (uv1)* |
| 530 | comp_86=` (lum(tex2D (sampler_main,uv1+.5)))); |
| 531 | comp_87=`ret2 /= (length(uv1)+.02); |
| 532 | comp_88=`float k1 = lum(ret2); |
| 533 | comp_89=`ret += k1*float3(1,k1,k1/2) ; |
| 534 | comp_90=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 535 | comp_91=` ((uv3.xyy*q28 |
| 536 | comp_92=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 537 | comp_93=` ).xyz* |
| 538 | comp_94=` float3(1,1,0)*0.05 + |
| 539 | comp_95=` time*float3(0,0,1)*q30 |
| 540 | comp_96=` ); |
| 541 | comp_97=`if(ret.x> q26*q3 && ret.x<= q23*q1 )ret.z -= (noise9).x*.5; |
| 542 | comp_98=`if(ret.y> q25*q1 && ret.y<= q19*q2 )ret.x -= (noise9).y*.5; |
| 543 | comp_99=`if(ret.z> q24*q2 && ret.z<= q20*q3 )ret.y -= (noise9).z*.5; |
| 544 | comp_100=`} |